* {
    margin: 0;
    padding: 0;
}

#app {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.mask {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(90deg, #7d5fff, #7158e2);
    z-index: 3;
}

.mask:nth-child(2) {
    background-image: linear-gradient(90deg, #007ACC, #FDB745);
    z-index: 2;
}

.mask.show {
    animation: clipSectorIn 1.5s ease-in-out;
}

.mask.close {
    animation: clipCircleIn 1.5s ease-in-out reverse;
}

@keyframes clipCircleIn {
    0% {
        clip-path: circle(0 at 50% 50%);
    }
    100% {
        clip-path: circle(100% at 50% 50%);
    }
}

@keyframes clipSectorIn {
    0% {
        clip-path: polygon(50% 100%, 50% 0%, 0% 0%, 100% 0%, 50% 0%);
    }
    50% {
        clip-path: polygon(50% 100%, 0% 0%, 0% 0%, 100% 0%, 100% 0%);
    }
    100% {
        clip-path: polygon(50% 100%, 0% 100%, 0% 0%, 100% 0%, 100% 100%);
    }
}

#app .search {
    position: relative;
    display: flex;
    background-color: #fff;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    z-index: 4;
}

.search_input {
    /* display: none; */
    width: 0;
    border: 0;
    color: #333;
    font-size: 26px;
    box-sizing: border-box;
    transition: width .5s ease-in;
}

.search_input.show {
    padding-left: 20px;
    width: 300px;
}

.search_input:focus {
    outline: 0;
}

.search_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
    cursor: pointer;
}

.search_icon img {
    width: 20px;
}